package com.liyao.windowtest4.pojo;

import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

/**
 * @program: windowtest4
 * @description:
 * @author: liu yan
 * @create: 2024-10-23 17:01
 */
public class Routine {
    private SimpleStringProperty ID;
    private SimpleStringProperty RoutineName;
    private SimpleIntegerProperty BoltTypeNum;
    private SimpleStringProperty addTime;

    private SimpleStringProperty torqueContent;


    public Routine(String ID, String routineName, int boltTypeNum, String addTime,String torqueContent) {
        this.ID = new SimpleStringProperty(ID);
        RoutineName =new SimpleStringProperty(routineName);
        BoltTypeNum = new SimpleIntegerProperty(boltTypeNum);
        this.addTime=new SimpleStringProperty(addTime);
        this.torqueContent=new SimpleStringProperty(torqueContent);
    }

    public String getID() {
        return ID.get();
    }

    public SimpleStringProperty IDProperty() {
        return ID;
    }

    public void setID(String ID) {
        this.ID.set(ID);
    }

    public String getRoutineName() {
        return RoutineName.get();
    }

    public SimpleStringProperty routineNameProperty() {
        return RoutineName;
    }

    public void setRoutineName(String routineName) {
        this.RoutineName.set(routineName);
    }

    public int getBoltTypeNum() {
        return BoltTypeNum.get();
    }

    public SimpleIntegerProperty boltTypeNumProperty() {
        return BoltTypeNum;
    }

    public void setBoltTypeNum(int boltTypeNum) {
        this.BoltTypeNum.set(boltTypeNum);
    }

    public String getAddTime() {
        return addTime.get();
    }

    public SimpleStringProperty addTimeProperty() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime.set(addTime);
    }

    public String getTorqueContent() {
        return torqueContent.get();
    }

    public SimpleStringProperty torqueContentProperty() {
        return torqueContent;
    }

    public void setTorqueContent(String torqueContent) {
        this.torqueContent.set(torqueContent);
    }
}
